<template>
  <div class="shopping-footer">
    <router-link to="/myMall">
      <div>
        <i class="iconfont icon-shangcheng shopIcon"></i>
        <p class="footer-text">商城</p>
      </div>
    </router-link>
    <div>
      <i class="iconfont icon-jiekuan shopIcon "></i>
      <p class="footer-text">借款</p>
    </div>
    <router-link to="/shopping-trolley">
    <div>
      <i class="iconfont icon-cart_icon shopIcon"></i>
      <p class="footer-text">购物车</p>
    </div>
    </router-link>
    <router-link to="/shopping-register">
      <div><i class="iconfont icon-wode shopIcon"></i><p class="footer-text">我的</p></div>
    </router-link>
  </div>
</template>

<script>
  export default {
    name: 'shopping-footer',
    methods: {

    }
  };
</script>

<style scoped>
  @import "../../assets/font_1001665_wneao7ah2ln/iconfont.css";

  *{
    margin: 0;
    padding: 0;
    text-decoration: none;
  }
  a{
    width:25%;
    float: left;
    box-sizing: border-box;
    text-align: center;
    padding-top: 10px;
    color: #666;
  }
  .shopping-footer{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 90px;
    background: white;
    border-top: 1px solid #f4f4f4;
  }
  .shopping-footer>div{
    width:25%;
    float: left;
    box-sizing: border-box;
    text-align: center;
    padding-top: 10px;
  }
  .footer-text{
    font-size: 22px;
    line-height: 2;
  }
  .shopIcon{
    color: #666;
    font-size: 40px;
    line-height: 40px;
  }
  .router-link-active{
    color: #1989fa;
  }
  .router-link-active>div>i{
    color: #1989fa;
  }
</style>
